import request from '@/utils/request'
// 登录接口
export const reqlogin = data => request({
  method: 'POST',
  url: '/sys/login',
  data
})
// 获取个人基本资料的接口
export const reqGetUserInfo = () => request({
  method: 'POST',
  url: '/sys/profile'
})
// 获取员工个人信息(带头像)
export const reqGetUserDetailById = id => request({
  method: 'GET',
  url: `/sys/user/${id}`
})
